<h1><%= @place.title %></h1>
<ul>
  <li><%= render :partial => 'layouts/ratingstars', :locals => {:rating => @place.average_rating} %></li>
  <li><%= @place.address.street %> <%= @place.address.housenumber %></li>
  <li><%= @place.address.postcode %> <%= @place.address.city %></li>
  <li><%= @place.phone %></li>
  <li><a href="http://www.qype.com/place/<%= @place.id %>">View on Qype.com</a></li>
</ul>


<ul class="inlineMenu">
  <li><a class="button buttonOk"  href="?latlng=<%= @place.point %>" id="showMap">Show map</a></li>
  <li><a class="button buttonOk" href="/places/<%=@place_id%>/reviews/">Show Reviews</a></li>
  <li><a class="button buttonOk" href="/places/<%=@place_id%>/photos/">Show Photos</a></li>
</ul>


<ul class="inlineMenu">
  <li><a class="button" href="/places/<%=@place_id%>/reviews/new">Write review</a></li>
  <li><a class="button buttonDisabled" href="/places/<%=@place_id%>/photos/new">Add Photo</a></li>
</ul>

<% if !session[:my_location].nil? %>
    <fieldset id="my_location">
        <input type="hidden" name="lat" value="<%= session[:my_location][:lat]%>"/>
        <input type="hidden" name="lng" value="<%= session[:my_location][:lng]%>"/>
    </fieldset>
<% end %>
<ul style="clear: both">
  <li class="hidden"><div id="map"></div></li>
</ul>